package week07.MidEx;

public class TestPlane {
    public static void main(String[] args) {
//        Plane plane=new PlaneImpl();
//        PlaneProxy planeProxy=new PlaneProxy(plane);
        Plane plane=PlaneFactory.createPlane();
        for(int i=0;i<10;i++){
            plane.takeOff();
        }
    }
}
